<template>
  <div class="header">
    <router-link to="/home">
      <div class="header-left">
        <div class="iconfont back-icon">&#xe624;</div>
      </div>
    </router-link>
    城市选择
  </div>
</template>

<script>

export default {
  name: "HomeHeader",
  props: {
    city: {
      type: String
    }
  }
}
</script>

<style lang="stylus" scoped>
@import '~styles/varibles.styl';

.header {
  position: relative;
  overflow: hidden;
  height: $headerHeight;
  line-height: $headerHeight;
  color: #FFF;
  background: $bgColor;
  text-align: center;

  .back-icon {
    position: absolute;
    width: 0.64rem;
    text-align: center;
    font-size: 0.4rem;
    color: #FFF;
  }
}
</style>
